﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class IAchievementPrxHelper extends RMIProxyObject implements IAchievementPrx
    {
        public static const NAME:String = "Message.Game.IAchievement";

        public function IAchievementPrxHelper()
        {
            name = "IAchievement";
            return;
        }// end function

        public function getAchievementCategroy_async(param1:AMI_IAchievement_getAchievementCategroy, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getAchievementCategroy");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getAchievementOverview_async(param1:AMI_IAchievement_getAchievementOverview) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getAchievementOverview");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getAchievementReward_async(param1:AMI_IAchievement_getAchievementReward, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getAchievementReward");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getCategoryAchievementReward_async(param1:AMI_IAchievement_getCategoryAchievementReward, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getCategoryAchievementReward");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getUpcomingAchievement_async(param1:AMI_IAchievement_getUpcomingAchievement) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getUpcomingAchievement");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

    }
}
